package cn.bdqn.fast.utils;
/**
 * 公共消息枚举类
 */
public enum CommentCode {
    SUCCESS(200L,"操作成功"),
    FAILED(500L,"操作失败"),
    FAILED_ERROR_URL(404L,"路径不存在"),
    FAILED_ERROR_DATA(500L,"后台服务异常，请联系管理员");
    private Long code;
    private String message;

    CommentCode(Long code, String message) {
        this.code = code;
        this.message = message;
    }

    public Long getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
